package com.lagou.pojo;

/**
 * 用户实体类
 */
public class User{

    /**
     * 用户ID
     */
    private Integer id;
    /**
     * 用户名
     */
    private String username;

    public Integer getId(){
        return id;
    }

    public void setId(Integer id){
        this.id = id;
    }

    public String getUsername(){
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }

    @Override
    public String toString(){
        final StringBuffer sb = new StringBuffer("User{");
        sb.append("id=").append(id);
        sb.append(", username='").append(username).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
